<?php
require_once ("src/db/connectdatabase.php");

function getIntro($id) {
	$con = new ConnectDB();
	$tbl = " loan_intro_footer";
	$fn = array('header', 'footer');
	$condetion = array('id' => $id);
	return $con -> getvalue($tbl, $fn, $condetion);
}

$id = "page_regis_card";
$intro = getIntro($id);

$bankid = "";
if(isset($_GET['bank'])) {
	$bankid = $_GET['bank'];
}
?>
<script type="text/javascript">
    document.title = "Đăng ký mở thẻ tín dụng, thẻ ghi nợ trực tuyến - Tài Chính Online";
</script>
<link rel="stylesheet" type="text/css" href="<?php echo($host) ?>css/jquery-ui.css"/>

<div class="text12" style="margin: auto; width: 970px; height: 11px; margin-top: 11px; color: #0a8bd9;">
    <u><a href="http://taichinhonline.vn/index.php" class="text12" style="color: #0080d6;">Trang Chủ</a></u>&gt; <u><a href="<?php echo($host) ?>the-tin-dung-ghi-no.html" class="text12" style="color: #0080d6;">Thẻ tín dụng, ghi nợ</a></u>&gt;Đăng ký trực tuyến</span>
</div>
<div style="clear: both; height: 10px;"></div>
<?php 
if(count($intro) == 1) {
?>
<div class="text11" style="color: #4c4c4c; width: 950px; margin-left: 8px; margin-top: 10px;"><?php echo($intro[0][0]) ?></div>
<div style="clear: both; height: 10px;"></div>
<?php
}
?>
<? include('form_apply_card.php'); ?>
<div style="clear: both; height: 10px;"></div>
<?php 
if(count($intro) == 1) {
?>
<div class="text11" style="color: #4c4c4c; width: 950px; margin-left: 8px; margin-top: 10px;"><?php echo($intro[0][1]) ?></div>
<div style="clear: both; height: 10px;"></div>
<?php
}
?>